#include <stdio.h>

int main() {
    int n;
    scanf("%d", &n);
    
    double product = 1.0;
    
    for (int i = 2; i <= n; i += 2) {
        product *= i;
    }
    
    printf("%.0f\n", product);
    
    return 0;
} 